package messagesvc.response.record;

import cn.ucloud.microsf.mpcsvc.common.enums.SendStatus;
import cn.ucloud.microsf.mpcsvc.common.enums.TemplateType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "发送记录响应对象")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RecordListResponse {

  /**
   * 模板ID
   */
  @ApiModelProperty(name = "uuid" , notes = "模板ID", example = "xxx")
  private String uuid;

  /**
   * 模板内容
   */
  @ApiModelProperty(name = "content" , notes = "模板内容", example = "xxx")
  private String content;

  /**
   * 状态：0 - 待发送 1- 发送成功 2- 发送失败
   */
  @ApiModelProperty(name = "status" , notes = "状态：0 - 待发送 1- 发送成功 2- 发送失败", example = "0")
  private SendStatus status;

  /**
   * 状态：0 - 待发送 1- 发送成功 2- 发送失败
   */
  @ApiModelProperty(name = "status_label" , notes = "状态", example = "xxx")
  private String status_label;

  /**
   * 创建时间，时间戳
   */
  @ApiModelProperty(name = "create_time" , notes = "创建时间", example = "16352433333")
  private Long createTime;


  /**
   * 接收方ID 当为SMS/Email时,ID和名称相同
   */
  @ApiModelProperty(name = "receiver_id" , notes = "接收方ID 当为SMS/Email时,ID和名称相同", example = "xxx")
  private String receiverId;

  /**
   * 接收方名称
   */
  @ApiModelProperty(name = "receiver_name" , notes = "接收方名称", example = "xxx")
  private String receiverName;

  /**
   * 状态：0 - 未读 1- 已读
   */
  @ApiModelProperty(name = "is_read" , notes = "状态：false - 未读 true- 已读", example = "false")
  private Boolean isRead;
}
